14 #include <boost/unordered_map.hpp>
37 long open(
const std::string& filename,
bool readonly =
true);
39 virtual std::vector<float>*
getVariable(
const std::string& variable) = 0;
40 virtual std::vector<float>*
getVariable(
long variableID) = 0;
41 virtual std::vector<float>*
getVariable(
const std::string& variable,
long startIndex,
long count) = 0;
42 virtual std::vector<float>*
getVariable(
long variableID,
long startIndex,
long count) = 0;
45 virtual std::vector<int>*
getVariableInt(
const std::string& variable) = 0;
69 virtual long openFile(
const std::string& filename,
bool readonly) = 0;
72 static const long OK = 0L;
93 boost::unordered_map<std::string, boost::unordered_map<std::string, Attribute> >
vAttributes;